body {
    margin: 0;
    background-color: white;
}

#header {
    position: absolute;
    width: 100%;
    height: 60px;
    padding: 0;
    margin: 0;
    background-color: white;
    box-shadow: 0 0 5px lightgray;
    display: flex;
    color: gray;
    user-select: none;
}

#logo {
    margin-top: 12px;
    margin-left: 25px;
    height: 40px;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    margin-left: 20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 50px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.catalogLogo {
    height: 12px;
    margin-right: 5px;
}

.catalogText:hover {
    color: black;
}

.headerItem {
    margin-top: 20px;
    margin-left: 15px;
}

.headerItem:hover {
    color: black;
}

#searchInput {
    margin-top: 19px;
    margin-left: 40px;
    height: 25px;
    text-align: center;
    background-color: #f6f6f6;
    border: lightgray solid 1px;
    border-radius: 12px;
}

#searchInput:focus {
    outline: none;
    border: gray solid 1px;
}

#searchButton {
    margin-top: 23px;
    margin-left: 8px;
    height: 20px;
    opacity: 70%;
}

#loginButton {
    margin-left: auto;
}

#registerButton {
    margin-right: 20px;
}

#content {
    padding-top: 90px;
    padding-bottom: 30px;
    background-color: white;
}

#left {
    display: inline-block;
    vertical-align: top;
}

#videoInfo {
    margin-left: 5%;
    width: 80%;
    height: 50px;
}

#videoTitle {
    display: inline-block;
    margin-bottom: 5px;
}

#videoCatalog {
    color: gray;
}

#videoTime {
    margin-top: -2px;
    margin-left: 9px;
    color: gray;
}

#videoPopular {
    color: gray;
}

#player {
    margin-left: 5%;
    margin-top: 25px;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-color: black;
    box-sizing: border-box;
    border: lightgray solid 1px;
    border-bottom: none;
}

#bulletLayer {
    position: absolute;
    opacity: 70%;
    pointer-events: none;
}

#controls {
    margin-top: -10px;
    padding-top: 5px;
    width: 100%;
    height: 50px;
    background-color: black;
    user-select: none;
}

#progressBar {
    margin-top: 5px;
    margin-left: 1%;
    width: 98%;
    height: 4px;
    background-color: lightgray;
    opacity: 50%;
    border-radius: 1px;
}

#progress {
    position: relative;
    margin-top: -4px;
    margin-left: 1%;
    width: 0;
    height: 4px;
    background-color: aqua;
    opacity: 50%;
    border-radius: 1px;
    pointer-events: none;
}

#buttons {
    height: 40px;
    display: flex;
    user-select: none;
}

#playButton {
    display: inline-block;
    margin-top: 10px;
    margin-left: 20px;
    height: 20px;
    opacity: 70%;
}

#playTime {
    display: inline-block;
    margin-left: 10px;
    margin-top: 12px;
    height: 20px;
    color: white;
    z-index: 1;
}

#volume {
    z-index: 1;
}

#volumeButton {
    display: inline-block;
    align-self: end;
    margin-top: 5px;
    margin-left: 20px;
    height: 32px;
}

#volumeBar {
    position: relative;
    margin-top: -85px;
    margin-left: 30px;
    height: 50px;
    width: 6px;
    border-radius: 3px;
    background-color: lightgray;
    opacity: 0;
}

#volumeAdjust {
    position: relative;
    margin-top: -50px;
    margin-left: 30px;
    height: 50px;
    width: 6px;
    border-radius: 3px;
    background-color: aqua;
    opacity: 0;
    pointer-events: none;
}

#bulletOpc {
    z-index: 1;
}

#bulletOpcButton {
    display: inline-block;
    align-self: end;
    margin-top: 8px;
    margin-left: 20px;
    height: 28px;
}

#bulletOpcBar {
    position: relative;
    margin-top: -85px;
    margin-left: 30px;
    height: 50px;
    width: 6px;
    border-radius: 3px;
    background-color: lightgray;
    opacity: 0;
}

#bulletOpcAdjust {
    position: relative;
    margin-top: -50px;
    margin-left: 30px;
    height: 50px;
    width: 6px;
    border-radius: 3px;
    background-color: aqua;
    opacity: 0;
    pointer-events: none;
}

#fullscreenButton {
    margin-top: 11px;
    margin-left: 22px;
    height: 20px;
    z-index: 1;
}

#comment {
    margin-left: 5%;
    width: 100%;
}

#interaction {
    margin-top: -5px;
    width: 100%;
    height: 95px;
}

#realtimeInteracts {
    display: flex;
    margin: 0;
    background-color: white;
    box-shadow: 0 2px 5px lightgray;
    padding: 5px;
}

#realtimePopular {
    display: inline-block;
    width: 40%;
    height: 30px;
    line-height: 30px;
    color: gray;
}

#watching {
    font-size: large;
    color: black;
}

#bulleting {
    color: black;
}

#bulletInput {
    margin-left: auto;
    border: lightgray solid 1px;
    padding-left: 20px;
    width: 45%;
    height: 25px;
    background-color: #f6f6f6;
}

#shootButton {
    margin-right: 5px;
    display: inline-block;
    width: 50px;
    height: 29px;
    text-align: center;
    line-height: 27px;
    background-color: dodgerblue;
    color: white;
}

#operations {
    display: flex;
    height: 46px;
}

.operation {
    margin-top: 16px;
    margin-right: 5px;
    height: 24px;
    opacity: 50%;
}

.operationNum {
    margin-top: 22px;
    margin-right: 30px;
    display: inline-block;
    color: gray;
}

#videoIntro {
    margin-top: 10px;
    width: 100%;
    font-size: small;
    color: gray;
    padding: 5px;
}

a {
    color: dodgerblue;
}

#tags {
    margin-top: 10px;
    width: 100%;
    display: flex;
}

.tagItem {
    margin-right: 10px;
    display: inline-block;
    font-size: small;
    padding-left: 5px;
    padding-right: 5px;
    height: 22px;
    line-height: 22px;
    background-color: #f2f2f2;
    border-radius: 11px;
    border: #f2f2f2 solid 1px;
}

#sendComment {
    margin-top: 10px;
    width: 100%;
    height: 120px;
    background-color: white;
}

#commentCount {
    font-size: large;
    color: black;
}

#commentEditor {
    margin-top: 20px;
    display: flex;
}

#commentAvatar {
    height: 50px;
    border-radius: 25px;
    border: lightgray solid 1px;
}

#commentInput {
    margin-left: 10px;
    margin-right: 10px;
    height: 45px;
    width: 100%;
    border-radius: 5px;
    background-color: #f6f6f6;
    border: lightgray solid 1px;
    font-size: xx-small;
    padding: 5px;
}

#commentSendButton {
    margin-left: auto;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 20px;
    background-color: dodgerblue;
    color: white;
    padding: 5px;
    border-radius: 10px;
    font-size: small;
}

#comments {
    margin-top: 20px;
    width: 100%;
}

.commentItem {
    display: flex;
}

.commentItemAvatar {
    margin-top: 20px;
    height: 50px;
    border-radius: 25px;
    border: lightgray solid 1px;
}

.commentItemDetails {
    margin-left: 10px;
    display: inline-block;
}

.commentItemName {
    color: #554e54;
}

.commentItemContent {
    margin-top: -15px;
    margin-bottom: 0;
    font-size: small;
}

.commentItemOrigin {
    margin-top: -16px;
    display: inline-block;
    font-size: x-small;
    color: grey;
}

.commentItemTime {
    margin-left: 10px;
    display: inline-block;
    font-size: x-small;
    color: grey;
}

#right {
    display: inline-block;
}

#authorInfo {
    margin-left: 25px;
    height: 70px;
    width: 280px;
    display: flex;
}

#authorAvatar {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    border: lightgray solid 1px;
}

#authorIntro {
    margin-left: 10px;
    display: inline-block;
}

#authorID {
    display: inline-block;
    margin-top: 2px;
    margin-bottom: 5px;
}

#authorComment {
    color: gray;
}

#powerButton {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    line-height: 25px;
    width: 80px;
    height: 25px;
    border: hotpink solid 1px;
    border-radius: 3px;
    color: hotpink;
}

#powerButton:hover {
    background-color: hotpink;
    color: white;
}

#followButton {
    margin-top: 10px;
    margin-left: 5px;
    display: inline-block;
    text-align: center;
    line-height: 25px;
    width: 125px;
    height: 25px;
    border: deepskyblue solid 1px;
    background-color: deepskyblue;
    border-radius: 3px;
    color: white;
}

#followButton:hover {
    background-color: white;
    color: deepskyblue;
}

#advertisement {
    margin-left: 25px;
    margin-top: 30px;
    height: 150px;
    width: 280px;
    border: solid lightgray 1px;
}

#advImage {
    width: 100%;
    height: 100%;
}

#recommend {
    margin-left: 25px;
    margin-top: 20px;
    width: 280px;
}

.recommendItem {
    padding-top: 10px;
    margin-bottom: -15px;
    width: 275px;
    height: 100px;
    display: flex;
}

.recommendCover {
    width: 140px;
    height: 80px;
}

.recommendIntro {
    margin-left: 5px;
    width: 140px;
    display: inline-block;
}

.recommendName {
    display: inline-block;
    margin-bottom: 5px;
}

.recommendAuthor {
    color: gray;
}

.recommendPopular {
    color: gray;
}